
import VueRouter from 'vue-router'

import Home from './components/tabbar/Home.vue'
import Member from './components/tabbar/Member.vue'
import Shop from './components/tabbar/Shopcar.vue'
import Search from './components/tabbar/Search.vue'


var router = new VueRouter({
    routes: [//配置路由规则
      { path: '/home', component:Home },
      { path:'/member', component: Member},
      { path:'/shopcar', component: Shop},
      { path:'/search', component: Search}
    ],
    linkActiveClass: 'mui-active',//覆盖默认高亮的类
  })

  export default router